/* --------------------------------------------------------------
Basic Styles
-------------------------------------------------------------- */
body {
    background: #f5f5f5;
    font: 14px/24px 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #343434;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:none;
}

img {
    max-width: 100%;
    height: auto;
	
}

img.float-left {
    margin: 0 40px 30px 0;
}

img.float-right {
    margin: 0 0 30px 40px;
}

li { 
    list-style: none;
}

a, a:visited {
    color: #000;
    text-decoration: none;
    -webkit-transition: color .1s ease-in-out;
    -moz-transition: color .1s ease-in-out;
    -o-transition: color .1s ease-in-out;
    transition: color .1s ease-in-out;
}

a:hover {
    color: #6fd6b8;
}

hr {
    width: 70%;
    height: 4px;
    display: block;
    background: #eee;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 40px;
    border: 0;
}

form {
    margin: 0;
    padding: 0;
}

input, textarea {
    display: block;
    border: 2px solid #eee;
    outline: none;
    margin: 0;
    padding: 10px;
    background: #fff;
    color: #999;
    font: 14px/14px 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, "Lucida Grande", sans-serif;
}

input:focus, textarea:focus {
    outline: none;
    background: transparent;
    border-color: #9ecaed;
    box-shadow: 0 0 3px #9ecaed;
    -webkit-transition: box-shadow linear .1s;
    -moz-transition: box-shadow linear .1s;
    -o-transition: box-shadow linear .1s;
    transition: box-shadow linear .1s;
}

* { 
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box; 
}

/* --------------------------------------------------------------
Typography
-------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: #444;
}

h3{
	font-family:'Janna LT W20 Bold';
}

h4{
	font-family:'Janna LT W20 Bold';
}
.single .post-title,
.page .post-title,
.archive-title {
    font-size: 34px;
}

.page .post-title {
    margin: 0 0 20px;
}

.single article .content {
    font-size: 20px;
    line-height: 39px;
    
}

/** Font colors */
article .content a,
article .content a:visited,
a.excerpt-read-more-link {
    color: #6fd6b8;
}

article .content a:hover,
a.excerpt-read-more-link:hover {
    color: #6fd6b8;
    border-bottom: 1px dotted #6fd6b8;
}

/* --------------------------------------------------------------
Main grid
-------------------------------------------------------------- */
.container {
    max-width: 1280px;
    padding: 0px;
    margin: 0 auto;
    position: relative;
   
}

#content {

    background: #fff;
    -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4)
    
}

#main {
    margin-left: 370px;
    padding: 20px 30px 30px;
    min-height: 1000px;
}
    .page #main,
    .error404 #main {
        width: 100%;
        max-width: 760px;
        margin: 0 auto;
    }
    .paged #main {
        padding-top: 30px;
    }
    .archive.paged #main {
        padding-top: 20px;
    }

/* Clearing */
    /* Self Clearing Goodness */
    .container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

    /* Use clear class on parent to clear nested columns,
    or wrap each row of columns in a <div class="row"> */
    .clear:before,
    .clear:after
    {
      content: '\0020';
      display: block;
      overflow: hidden;
      visibility: hidden;
      width: 0;
      height: 0; }
    .clear:after {
      clear: both; }
    .clear {
      zoom: 1; }

/* --------------------------------------------------------------
Header
-------------------------------------------------------------- */
#header {
    background: #3C443D;
    width: 100%;
    position: relative;
    font-family:'Badiya LT W20 Regular';
}

#header .logo {
    float: right;
    margin-bottom: 0;
    margin-left: 20px;
    height: 50px;
}

#header .logo h1 {
    color: #FFF;
    font-size: 24px;
    margin-bottom: 0;
    margin-top: 8px;
}

#header .logo img {
    max-height: 50px;
}

header .logo #retina-logo {
    display: none;
}

#header nav {
    float: left;
    margin-right: 30px;
}

#header nav ul li {
    float: right;
    position: relative;
    display: inline-block;
    line-height: 1;
}

#header nav ul li a, #header nav ul li a:visited {
    font-size: 14px;
    font-weight: bold;
    color: #788287;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    padding: 0 10px;
    height: 50px;
    line-height: 50px;
    display: block;
}

#header nav ul li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
}

/* Dropdown */
#header nav ul li ul {
    display: none;
    position: absolute;
    right: 0;
    background: #303437;
    min-width: 120px;
    z-index: 1100;
}

#header nav ul li:hover ul {
    display: block;
}

#header nav ul li ul li {
    display: block;
    float: none;
    white-space: nowrap;
}

#header nav ul li ul li a {
}

#header nav ul li ul li a:hover {
    /*background: none;*/
}

/* Mobile menu button */
#header .menubutton {
    display: none;
    float: left;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    line-height: 24px;
    margin-top: 5px;
    margin-right: 30px;
    position: absolute;
    right: 0;
    top: 8px;
}
#header .streambutton {
    display: none;
    float: left;
    color: #fff;
    cursor: pointer;
    font-size: 20px;
    line-height: 24px;
    margin-top: 14px;
    margin-left: 30px;
}

/** Search bar */
#search-bar {
    width: 50px;
    height: 50px;
    overflow: hidden;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out; 
}

#search-bar div {
    width: 300px;
}

#search-bar i {
    float: left;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 17px;
    color: #DDD;
    text-align: center;
    cursor: pointer;
}

#search-bar.active {
    width: 220px;
}

    #search-bar i:hover,
    #search-bar.active i {
        color: #FFF;
        background: rgba(255,255,255,0.08);
    }

#search-bar input {
    background: rgba(0,0,0,0.1);
    border: 0;
    -webkit-appearance: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    height:50px;
}
    #search-bar input:hover {
        box-shadow: none;
        outline: none;
    }

/* --------------------------------------------------------------
Sidebar
-------------------------------------------------------------- */
#sidebar {
    font-size: 14px;
    line-height: 24px;
    float: left;
    width: 26%;
    margin: 40px 0 30px 0;
   
}

#sidebar .widget {
    margin-bottom: 50px;
}

#sidebar input {
    width: 100%;
}

#sidebar h6 {
    text-transform: uppercase;
    color: #656565;
}

#sidebar li {
    line-height: 32px;
}

#sidebar li:before {
    content: "\f105";
    font-family: 'FontAwesome';
    -webkit-font-smoothing: antialiased;
    color: #6fd6b8;
    margin-right: 10px;
}

#sidebar a {
    color: #656565;
}

#sidebar a:hover {
    color: #111;
}

/* --------------------------------------------------------------
Stream
-------------------------------------------------------------- */
#stream {
    background: #f0f0f0;
    border-right: 1px solid #dedede;
    width: 370px;
    position: absolute;
    top: 0;
    padding: 20px;
    height: 100%;
    z-index: 90;
    direction:rtl;
    font-family:'Palatino Sans W23 Bold';
}
    /** fix for admin bar */
    .admin-bar #stream.fixed { margin-top: 28px;}

#stream-tabs {
    border-width: 0 0 5px 0;
    border-color: #a0a0a0;
    border-style: solid;
    position: relative;
}
    .stream-tab {
        float: right;
        font-size: 12px;
        width: 60px;
        text-align: center;
        cursor: pointer;
        color: #777;
        border-bottom: 5px solid transparent;
        text-shadow: 0 1px 1px #FFF;
        margin-bottom: -5px;
    }
        .stream-tab span {
            display: block;
            font-size: 21px;
            margin-top: 10px;
        }
    .stream-tab:hover,
    .stream-tab.active {
        color: #3C443D;
        border-bottom: 5px solid #3C443D;
    }

#stream-categories {
    font-size: 21px;
    position: absolute;
    bottom: 0px;
    left: 0;
    padding: 10px;
    padding-left: 0;
    cursor: pointer;
    margin-bottom: -5px;
    border-bottom: 5px solid transparent;
}

#stream-categories.active,
#stream-categories:hover {
    border-bottom: 5px solid #3C443D;
}

.categories-panel {
    border: 1px solid #ddd;
    border-top: none;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    background-color: #FFF;
    width: 100%;
    z-index: 20;
    display: none;
}

.categories-panel li {
    float: left;
    width: 50%;
}

.categories-panel li a {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px;
    display: block;
}

.categories-panel li i {
    font-size: 18px;
    line-height: 25px;
    width: 25px;
    float: left;
}

#stream-list {}
    #stream-list ul li {
        display: block;
        min-height: 77px;
        border-bottom: 1px solid #dedede;
        padding: 15px 0;
        cursor: pointer;
        box-shadow: 0 1px 1px #FFF;
        position: relative;
    }
        #stream-list ul li .thumbnail {
            float: left;
            width: 60px;
            height: 47px;
            margin-right: 15px;
        }
        #stream-list ul li .body {
            overflow: hidden;
            font-size: 14px;
            line-height: 17px
        }
        #stream-list ul li .body .title {
            font-weight: bold;
        }
        #stream-list ul li .body .date {
            color: #565656;
            opacity: 0.5;
            font-size: 11px;
            line-height: 14px;
            transition: opacity .1s ease-in-out;
        }
            #stream-list ul li.current .body .date,
            #stream-list ul li:hover .body .date {
                opacity: 1;
            }
        #stream-list ul li a {
            color: #999;
        }
        #stream-list ul li.current a,
        #stream-list ul li:hover a {
            color: #464646;
        }

#stream-list a.load-more {
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
    padding: 7px;
    color: #999;
    --webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
    #stream-list a.load-more:hover {
        color: #464646;
    }
    #stream-list a.load-more i {
        margin-left: 8px;
    }

#stream .loading{
    color: #FFF;
    position: absolute;
    font-size: 30px;
    top: 20%;
    left: 40%;
    padding: 20px;
    background: rgba(0,0,0,0.4);
    border-radius: 5px;
}



/* --------------------------------------------------------------
Posts
-------------------------------------------------------------- */
article {
    display: block;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
    direction:rtl;
}

.page article,
.single article {
    margin-bottom: 0;
    padding-bottom: 20px;
    border-bottom: none;
    font-family:'Palatino Sans W23 Bold';
    
}

article .featured {
    margin: 0px auto;
    margin-bottom: 20px;
    width: 100%;
    display: block;
    
}

@media screen {
    article.format-standard .featured img { display: inline; width: 1000px;
height: 340px; margin-top: 50px;}
}

article .post-title {
    margin-bottom: 5px;
    font-weight: normal;
    
}

article .post-intro {

    font-size: 22px;
    line-height: 36px;
    border-bottom: 2px solid #EEE;
    padding-bottom: 20px;
}

article button {
    margin: 0;
}

/* Blockquotes */
article blockquote {
    width: 100%;
    font-family:'Janna LT W20 Regular';
    padding: 0 40px 0 30px;
    margin-bottom: 30px;
    border-left: 10px solid #ccc;
    font-size: 20px;
    color:#000;
}

/** Post formats */
article.format-standard .featured {
    
    position: relative;
    
}

article.error-404 {
    margin: 100px 0;
    text-align: center;
    border: 0;
}
    article.error-404 #s {
        margin: 0 auto;
    }

/* More link */
a.more-link {
    display: block;
    margin: 30px 0 0;
}

/* Sticky */
article.sticky {
    border-bottom: 4px solid #F7CF32;
}

/* Gallery shortcode */
#content div[id*='gallery-'] img {
    border: none;
}
#content .gallery-item a:hover {
    border: none;
}

.gallery-caption {
    font-size: 0.8em;
}

/* --------------------------------------------------------------
Index & Archive pages
-------------------------------------------------------------- */
.article-list {
    width: 103%;
    margin: 0 -1.5%;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
}

.article-list article.list {
    width: 50%;
    float: left;
    margin: 0 0 30px;
    padding: 0 1.5%;
    border-bottom: 0;
    -webkit-transition-duration: 0.8s;
    -moz-transition-duration: 0.8s;
    -ms-transition-duration: 0.8s;
    -o-transition-duration: 0.8s;
    transition-duration: 0.8s;
    -webkit-transition-property: opacity;
    -moz-transition-property: opacity;
    -ms-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

    .article-list article .featured {
        line-height: 0;
        margin-bottom: 10px;
        width: 100%;
        padding-bottom: 40%;
        position: relative;
    }

    .article-list article .featured img {
        position: absolute;
        top: 0;
        left: 0;
		width: 1000px;
        height: 165px;
		display: inline;
		margin-top: 0px;
    }

    .article-list article.list .metadata {
        margin-bottom: 5px;
    }

    .article-list article .post-title {
        border-bottom: 1px solid #eee;
        padding-bottom: 30px;
    }

.archive-title {
direction:rtl;
    font-weight: normal;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
}

.archive-title i {
    margin-right: 10px;
}

#load-more {
    display: block;
    width: 100%;
    text-align: center;
}
    #load-more a {
        color: #FFF;
        display: block;
        width: 100%;
    }

#main .loading,
#main .no-more-posts {
    font-size: 16px;
    background: #efefef;
    text-align: center;
    padding: 13px 30px;
}

/** featured posts */
#featured-posts {
    border-bottom: 2px solid #EEE;
    margin-bottom: 40px;
    
   direction:rtl;
}

#featured-posts article {
    float:left;
    width: 25%;
    padding-bottom: 0;
    margin-bottom: 20px;
    border-bottom: 0;
}
    #featured-posts article .metadata{ display: none;}
    #featured-posts article .featured { margin-bottom: 10px;}
    #featured-posts article .post-title{ font-size: 18px;}

#featured-posts article.first {
    width: 72%;
    margin-right: 3%;
}
    #featured-posts article.first .post-title {
        font-size: 30px;
        margin-bottom: 10px;
    }
    #featured-posts article.first .metadata {
        display: block;
        margin-bottom: 5px;
    }
    #featured-posts article.first .featured { margin-bottom: 20px;}


/* --------------------------------------------------------------
Metadata
-------------------------------------------------------------- */
.metadata {
    display: block;
   
    margin-bottom: 15px;
    margin-left: 0;
    font-size: 13px;
    text-transform: uppercase;
    font-family:tahoma;
}

.metadata li {
    color: #aaa;
    float: right;
    margin-right: 20px;
    margin-left: 0;
    list-style-type: none;
}

.metadata i {
    margin-right: 4px;
}

.metadata a {
    color: #aaa;
}

.metadata a:hover {
    color: #6fd6b8;
}


/* --------------------------------------------------------------
Comments
-------------------------------------------------------------- */
.commentlist {
direction:rtl;

}

.comments-number {
    font-size: 19px;
    font-weight: normal;
    color: #ccc;
}

.comments h5 {
    margin: 60px 0 30px 0;
}

.comments li {
    padding: 10px 0;
      direction:rtl;
}

.comment .avatar {
    float: right;
    margin: 0 20px 20px 0;
}

.comment h5 {
    color: #555759;
    margin: 20px 0 0 0;
}

.comment .fn {
    float: right;
    margin-right: 5px;
}
.bypostauthor .fn {
    color: #000;
}

.comment .comment-meta {
    margin-bottom: 5px;
    font-size: 12px;
}

.comment .comment-parent,
.comment .comment-date {
    color: #bcbcbc;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.comment .comment-parent {
    margin-left: 7px;
}

.comment span.bullet {
    color: #bcbcbc;
    font-weight: bold;
    margin: 0 5px;
}

.comment-edit-link {
    color: #888;
}

.comment .comment-content {
    display: block;
    clear: both;
    margin-right:20px;
}
    .comment .comment-content p:last-child {
        margin-bottom: 0;
    }

.reply {
    position: relative;
}

#respond {
    padding: 25px 0;
}

li #respond {
    margin-right: 90px;
}

#comments #reply-title {
    font-size: 13px;
    float: right;
    margin: 0;
    font-weight: normal;
    line-height: 12px;
}

#comments .comment-parent i,
#comments .reply i {
    font-size: 11px;
    margin-right:20px;
}

.comment-form-fields {
direction:rtl;
    -webkit-column-count: 3; 
    -webkit-column-gap: 20px; 
    -webkit-column-fill: auto; 
    -moz-column-count: 3; 
    -moz-column-gap: 20px; 
    -moz-column-fill: balance; 
    column-count: 3; 
    column-gap: 20px;
    column-fill: auto;
}

.comment-form h6 {
    text-transform: uppercase;
    color: #aaa;
}

.comment-form input {
    width: 100%;
    margin-bottom: 40px;
}

.comment-form textarea {
    width: 100%;
    min-height: 140px;
    margin-bottom: 40px;
    color: #555;
}

.comment-form button {

}

/* fix */
p.comment-form-author { margin-top: 2px; }

input,
#respond input {
    -webkit-appearance: none;
}

input[type="submit"],
.form-submit input[type="submit"] {
    -webkit-border-radius: 3px;
    border-radius: 3px;
}


/* --------------------------------------------------------------
Pagination
-------------------------------------------------------------- */
.pagination {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    font-weight: bold;
}

.pagination button,
.pagination .btn {
    padding: 7px 15px;
    height: auto;
}

.pagination span.btn {
    background: #ff6644;
}

.pagination a {
    color: #888;
}

.pagination a.btn.light:hover {
    color: #333;
    background: #efefef;
}

.pagination i {
    font-size: 14px;
}

.pagination .float-left {
    margin: 0;
}

.pagination .float-left i {
    margin: 0 10px 0 0;
}

.pagination .float-right {
    margin: 0;
}

.pagination .float-right i {
    margin: 0 0 0 10px;
}

/* --------------------------------------------------------------
Comments
-------------------------------------------------------------- */
#comments {
    padding-top: 35px;
    border-top: 2px solid #EEE;
}

/* --------------------------------------------------------------
Contact form
-------------------------------------------------------------- */
.contact h6 {
    text-transform: uppercase;
    color: #aaa;
}

.contact input {
    width: 100%;
    margin-bottom: 40px;
}

.contact textarea {
    width: 100%;
    min-height: 140px;
    margin-bottom: 40px;
}

.contact button {
    float: right;
}

.message {
    text-transform: uppercase;
    color: #bbb;
    letter-spacing: 1px;
    font-weight: bold;
}

label.error {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #f36b6b;
    text-transform: uppercase;
    margin-top: -30px;
    margin-bottom: 30px;
}


/* --------------------------------------------------------------
Footer
-------------------------------------------------------------- */
#footer {
 font-family:'Badiya LT W20 Regular';
    background: #333;
    font-weight: bold;
    color: #fff;
    margin-left: 370px;
    padding: 20px 30px 10px;
}
    .page #footer,
    .error404 #footer {
        margin-left: 0;
    }

#footer .footer-text {
    display: block;
    text-align: center;
    margin: 0;
    font-size: 11px;
    opacity: 0.5;
    font-weight: normal;
}
    #footer .footer-text a {
        color: #fff;
    }

/* Social buttons */
#footer .social-icons {
    text-align: center;
    font-size: 24px;
}

#footer .social-icons li {
    display: inline-block;
    margin-left: 15px;
    margin-bottom: 15px;
}

#footer .social-icons li a {
    color: #999;
}

#footer .social-icons li a:hover {
    color: #fff;
}

/** Footer nav */
#footer-nav {
    text-align: center;
    margin-bottom: 10px;
    border-bottom: 1px solid #454545;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

#footer-nav li {
    display: inline-block;
    margin: 0 10px 10px;
}

#footer-nav li a {
    color: #999;
}

#footer-nav li a:hover { color: #FFF; }

/* --------------------------------------------------------------
Twitter
-------------------------------------------------------------- */
.tweet_list {
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}
    
.tweet_list li {
    overflow-y: auto;
    overflow-x: hidden;
    list-style-type: none;
    margin-bottom: 20px;
}

.tweet_list .tweet_avatar {
    padding-right: .5em; float: left;
}
        
.tweet_list .tweet_avatar img {
    vertical-align: middle;
}

.tweet_time {
    font-size: 14px;
    font-style: italic;
    display: block;
}

/* --------------------------------------------------------------
Buttons
-------------------------------------------------------------- */
button {
    display: inline-block;
    border: 0;
    outline: 0;
    margin: 0;
    border: 3px solid #6fd6b8;
    padding: 10px 15px;
    color: #6fd6b8;
    background: 0;
    font-size: 13px;
    line-height: 13px;
    line-height: 1;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 1000px;
    -webkit-font-smoothing:antialiased;
    -webkit-text-size-adjust:none;
}

button:hover {
    background: #6fd6b8;
    color: #fff;
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out; 
}

/* --------------------------------------------------------------
Helpers
-------------------------------------------------------------- */
#content .fixed { position: fixed }
.overflow { overflow: hidden;}


/* --------------------------------------------------------------
Media queries
-------------------------------------------------------------- */
/* Desktop sizes */
@media only screen and (min-width: 768px) {
    #stream {
        margin-left: 0 !important;
    }
    #header nav {
        display: block !important;
        overflow: visible !important;
    }
}

@media only screen and (max-width: 1279px) {
    #header nav {
        margin-right: 30px
    }
}

/* All tablet & below sizes */
@media only screen and (max-width: 959px) {

    #featured-posts {
        border-bottom: none;
        margin-bottom: 0;
    }

    #featured-posts article.first,
    #featured-posts article {
        border-bottom: 1px solid #eee;
        width: 100%;
        margin: 0 0 30px;
        padding: 0 0 20px;
    }

    #featured-posts article.first .metadata,
    #featured-posts article .metadata {
        display: block;
        margin-bottom: 10px;
    }

    #featured-posts article .post-title {
        font-size: 22px;
    }

    .article-list article.list {
        width: 100%;
    }
}

/* Tablet Portrait size to standard 960 (devices and browsers) */
@media only screen and (min-width: 768px) and (max-width: 959px) {

    #main,
    #footer {
        margin-left: 300px;
    }

    #stream {
        width: 300px;
    }
}

/* All Mobile Sizes (devices and browser) */
@media only screen and (max-width: 767px) {
    
    #header {
        min-height: 50px;
    }

    #header .menubutton,
    #header .streambutton {
        display: block;
    }

    #header .streambutton { margin-left: 20px; }
    #header .menubutton { margin-right: 220px; }

    #header nav {
        background: rgba(0,0,0,0.1);
        display: none;
        width: 100%;
        float: left;
        line-height: 1;
    }

    #header nav ul li {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    #header nav ul li a, #header nav ul li a:visited {
        top: 0;
        display: block;
        width: 100%;
        text-align: center;
    }

    #header nav ul li ul {
        position: relative;
        width: 100%;
        top: 0;
    }

    #search-bar,
    #search-bar div {
        width: 100% !important;
        height: auto;
    }
    #search-bar i {
        width: 100%;
    }
    #search-bar input {
        width: 100%;
        display: none;
    }
    #search-bar.active input {
        display: inline-block;
    }

    #main,
    #footer {
        margin-left: 0;
        padding: 20px;
    }

    #stream {
        margin-left: -320px;
        width: 300px;
        border-right: 1px solid #FFF;
        box-shadow: 1px 0 6px rgba(0, 0, 0, 0.5);
    }
    #stream .loading{ top: 10% };

    #sidebar {
        width: 100%;
    }

    .pagination .float-left, .pagination .float-right {
        display: none;
    }
    
    .commentlist ul {
        margin-left: 20px;
    }
    li #respond {
        margin-left: 50px;
    }

}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    body { -webkit-text-size-adjust:100% }
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {

    .comment-form-fields {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
    }

}

/* Smaller Mobile Size (devices and browsers) */
@media only screen and (max-width: 310px) {

    #stream {
        margin-left: -300px;
        width: 100%;
        border-right: 1px solid #FFF;
        box-shadow: 1px 0 6px rgba(0, 0, 0, 0.5);
    }

    #stream-list ul li .thumbnail { display: none;}
    
}

/** Retina-specific stuff here */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {

    header .logo .has-retina-logo {
        display: none !important;
    }

    header .logo #retina-logo {
        display: block;
    }
    
}

/** MISC */
.icon-spin-reverse {
    display: inline-block;
    -moz-animation: spin 2s infinite linear reverse;
    -o-animation: spin 2s infinite linear reverse;
    -webkit-animation: spin 2s infinite linear reverse;
    animation: spin 2s infinite linear reverse;
}